@import './variable.less';

/* flex布局:水平排列 */
.flex-row {
  display: flex;
  flex-direction: row;
}
/* flex布局:垂直排列 */
.flex-column {
  display: flex;
  flex-direction: column;
}

/* flex布局:水平轴靠左 */
.flex-h-left {
  justify-content: flex-start;
}
/* flex布局:水平轴居中 */
.flex-h-center {
  justify-content: center;
}
/* flex布局:水平轴最左最右 */
.flex-h-sb {
  justify-content: space-between;
}
/* flex布局:水平轴靠右 */
.flex-h-right {
  justify-content: flex-end;
}

/* flex布局:交叉轴靠左 */
.flex-v-left {
  align-items: flex-start;
}
/* flex布局:交叉轴居中 */
.flex-v-center {
  align-items: center;
}
/* flex布局:交叉轴靠右 */
.flex-v-right {
  align-items: flex-end;
}

/* flex布局:水平垂直居中 */
.flex-hv-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 字体大小 */
.f10 {
  font-size: 10px;
}

.f12 {
  font-size: 12px;
}

.f14 {
  font-size: 14px;
}

.f15 {
  font-size: 15px;
}

.f17 {
  font-size: 17px;
}

.f20 {
  font-size: 20px;
}

.f24 {
  font-size: 24px;
}

/*浮动与清除浮动*/
.fl {
  float: left;
}

.fr {
  float: right;
}

.fix {
  *zoom: 1;
}

.fix:after {
  display: table;
  content: '';
  clear: both;
}

/*定位*/
.pr {
  position: relative;
}

.pa {
  position: absolute;
}

.pf {
  position: fixed;
}

/*盒子模型*/
.mt2 {
  margin-top: 2px;
}
.mt4 {
  margin-top: 4px;
}
.mt6 {
  margin-top: 6px;
}
.mt8 {
  margin-top: 8px;
}
.mt10 {
  margin-top: 10px;
}

.mr2 {
  margin-right: 2px;
}
.mr4 {
  margin-right: 4px;
}
.mr6 {
  margin-right: 6px;
}
.mr8 {
  margin-right: 8px;
}
.mr10 {
  margin-right: 10px;
}

.mb2 {
  margin-bottom: 2px;
}
.mb4 {
  margin-bottom: 4px;
}
.mb6 {
  margin-bottom: 6px;
}
.mb8 {
  margin-bottom: 8px;
}
.mb10 {
  margin-bottom: 10px;
}

.ml2 {
  margin-left: 2px;
}
.ml4 {
  margin-left: 4px;
}
.ml6 {
  margin-left: 6px;
}
.ml8 {
  margin-left: 8px;
}
.ml10 {
  margin-left: 10px;
}

.pt2 {
  padding-top: 2px;
}
.pt4 {
  padding-top: 4px;
}
.pt6 {
  padding-top: 6px;
}
.pt8 {
  padding-top: 8px;
}
.pt10 {
  padding-top: 10px;
}

.pr2 {
  padding-right: 2px;
}
.pr4 {
  padding-right: 4px;
}
.pr6 {
  padding-right: 6px;
}
.pr8 {
  padding-right: 8px;
}
.pr10 {
  padding-right: 10px;
}

.pb2 {
  padding-bottom: 2px;
}
.pb4 {
  padding-bottom: 4px;
}
.pb6 {
  padding-bottom: 6px;
}
.pb8 {
  padding-bottom: 8px;
}
.pb10 {
  padding-bottom: 10px;
}

.pl2 {
  padding-left: 2px;
}
.pl4 {
  padding-left: 4px;
}
.pl6 {
  padding-left: 6px;
}
.pl8 {
  padding-left: 8px;
}
.pl10 {
  padding-left: 10px;
}

// 全屏遮雾罩
.mask{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
// 鼠标悬停变小手
.cp{
  cursor: pointer;
}








